<?php

namespace App\Console\Commands;

use Illuminate\Console\Command;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Redis;
use App\Http\Services\RoomHotServices;

class CommandUpdateEsRoomDataTask extends Command
{
    protected $signature = 'CommandUpdateEsRoomDataTask';

    protected $description = '更新es房间数据';

    public function __construct()
    {
        parent::__construct();
    }

    public function handle()
    {
        do {
            $service_room_hot = new RoomHotServices();
            $service_room_hot->update_es_room_data();

        } while (false);
    }

}